package com.llf.Blog.Service;

import com.llf.Blog.Pojo.Type;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author llf
 * @since 2021-08-07
 */
public interface TypeService extends IService<Type> {
    Type getById(  Long id);
    List<Type> getAll();
    Boolean insertType(Type type);
    Boolean update(Type type);
    Boolean deleteById(long id);
    Type  getByName(String name);
    List<Type>  getCountType();


}
